package com.zark.myspringboot.web.listeners;

import org.springframework.boot.context.event.ApplicationFailedEvent;

import org.springframework.context.ApplicationListener;

public class ApplicationFailedListener implements ApplicationListener<ApplicationFailedEvent> {

	@Override
	public void onApplicationEvent(ApplicationFailedEvent event) {
		System.err.println("ApplicationFailedEvent -- spring boot启动异常时执行事件 ");
	}

}
